package com.Lyy.Service;

import com.Lyy.Entity.Student;
import org.springframework.stereotype.Component;

import java.util.List;
@Component

public interface StudentService {
    List<Student> SelectStudentAll();

    Student SelectStudentById(int id);

    List<Student> SelectStudentByName(String studentName);

    int UpdateStudent(Student student);

    int DeleteStudentById(int studentId);
    int InsertStudent(Student student);
}
